#pragma once
#include <boost/signals2/signal.hpp>

class Updater
{
public:
    virtual ~Updater() = default;
public:
    void setRunning(bool running);
    boost::signals2::signal<void(bool)> runningStateChanged;
    bool isRunning()const;

    virtual void update(float deltaTime);
private:
    bool running = true;
};
